package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-05-27
 */
@Getter
public enum HouseLevelEnum implements IBaseEnum<Integer> {

    /**
     * 房产情况 0.无要求 1.有房可抵押 2.有房不抵押 3.无房产
     */
    NO_REQUIRED(0, "无要求",false),
    HOUSE_MORTGAGE(1, "有房可抵押",true),
    HOUSE_NO_MORTGAGE(2, "有房不抵押",false),
    NO_HOUSE(3, "无房产",false);

    private final Integer value;

    private final String label;

    private Boolean excellent;

    HouseLevelEnum(Integer value, String label,Boolean excellent) {
        this.value = value;
        this.label = label;
        this.excellent = excellent;
    }
}
